﻿<ResourceDictionary 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"    
    xmlns:system="clr-namespace:System;assembly=mscorlib">
    
    <Style TargetType="Button">
        <Setter Property="Margin" Value="5"></Setter> 
    </Style>
    
    <Style TargetType="TextBlock">
        <Setter Property="Margin" Value="5"></Setter>
        <Setter Property="FontWeight" Value="Bold"></Setter>
    </Style>
    
    <Style TargetType="ComboBox">
        <Setter Property="Margin" Value="5"></Setter>
    </Style>

    <Style TargetType="TextBox">
        <Setter Property="Margin" Value="5"></Setter>
    </Style>
    
    <Style TargetType="StackPanel">
        <Setter Property="VerticalAlignment"  Value="Center"></Setter>       
    </Style>
    
    <Style BasedOn="{StaticResource {x:Type StackPanel}}"  TargetType="StackPanel" x:Key="STYLE_DLG_BT">
        <Setter Property="HorizontalAlignment"  Value="Center"></Setter>
        <Setter Property="Orientation"  Value="Horizontal"></Setter>
    </Style>

    <Style BasedOn="{StaticResource {x:Type StackPanel}}"  TargetType="StackPanel" x:Key="STYLE_TREE_ITEM">
        <Setter Property="HorizontalAlignment"  Value="Center"></Setter>
        <Setter Property="Orientation"  Value="Horizontal"></Setter>
    </Style>

    <Style BasedOn="{StaticResource {x:Type TextBox}}"  TargetType="TextBox" x:Key="STYLE_DLG_MULTI">
        <Setter Property="Height"  Value="96"></Setter>
    </Style>
    
    <Style TargetType="{x:Type Window}" x:Key="STYLE_TOOLBOX">
        <Setter Property="WindowStyle" Value="ToolWindow"></Setter>
    </Style>

</ResourceDictionary>